import request from '@/utils/request'

// 获取档案树
export function getTreesList(query) {
  return request({
    url: '/archive/trees/gettrees',
    method: 'get',
    params: query
  })
}
//点击树节点获取查询框
export function getqueryfieldList(data) {
  return request({
    url: '/archive/wjzl/getqueryfieldbytreenode',
    method: 'POST',
    data: data
  })
}
//点击树节点,获取table数据
export function getlistbytreenodeList(data) {
  return request({
    url: '/archive/wjzl/getlistbytreenode?pageNum=' + data.pageNum + '&pageSize=' + data.pageSize,
    method: 'POST',
    data: data
  })
}

//获取表头
export function getthbytreenodeHeaderList(data) {
  return request({
    url: '/archive/wjzl/getthbytreenode',
    method: 'POST',
    data: data
  })
}
